package com.xzh.springCloud.dao;

import com.xzh.springCloud.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: zhiHong
 * @CreateTime: 2023-09-01 10:23
 * @Description:
 */
public interface OrderDao {
    /**
     * 新建订单
     */
    void save(Order order);
    //修改订单状态
    void  update(@Param("userId") Long userId, @Param("status") Integer status);
}
